home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 7 / Apprentice-Release7.iso / Source Code / C / Applications / µSim 1.1 / source / TrackThumb.h < prev    next >
Encoding:
C/C++ Source or Header  |  1997-05-25  |  384 b   |  14 lines  |  [TEXT/CWIE]

  1. /*
  2.     TrackThumb must be called as follows:
  3.     partCode = TrackThumb(whichControl, localPoint, actionProc);
  4.  
  5. It works exactly as the MacOS _TrackControl
  6.  
  7.     actionProc must be declared as follows:
  8.     void actionProc(ControlHandle control, short value);
  9. */
  10.  
  11. #pragma internal on
  12. short TrackThumb(ControlHandle control, Point start, void (*action)(ControlHandle, short));
  13. #pragma internal reset
  14.